import request from '@/utils/request'
// 催单
export function insertBatch(params) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderUrge/insertBatch',
    method: 'post',
    data: params
  })
}
// 追加意见
export function getLoglist(params) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderLog/getLoglist',
    method: 'post',
    data: params
  })
}

// 获取日志列表
export function workOrderLogAdd(params) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderLog/workOrderLogAdd',
    method: 'post',
    data: params
  })
}
// 批量处理操作（短信和手动）
export function updateBatch(params) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderUrge/updateBatch',
    method: 'post',
    data: params
  })
}
